<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>管理中心</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="/sys-admin/css/general.css" rel="stylesheet" type="text/css">
<link href="/sys-admin/css/main.css" rel="stylesheet" type="text/css">
<script src="/sys-admin/js/jquery.js" type="text/javascript"></script>
<script src="/sys-admin/js/date/WdatePicker.js" type="text/javascript"></script>	
<script src="/sys-admin/js/list.js" type="text/javascript"></script>
</head>
<body>
<h1><span class="action-span1">订单类表</span></h1>
<div class="form-div">
    <select list="search" ltype='1' lfield="cat_id">
    <option value="">分类</option>
    </select>
    <select list="search" ltype='1' lfield="state">
    <option value="">状态</option>
    </select>
     <select list="search" ltype='1' lfield="is_new">
    </select>
     <select list="search" ltype='1' lfield="is_hot">
    <option value="">热销</option>
    </select>
    <select list="search" ltype='1' lfield="is_promote">
    <option value="">促销</option>
    </select>
    <span>ID</span><input size="7"  value="<{$sh.pro_id.v}>" type="text" list="search" ltype='1' lfield="pro_id">
    <span>名称</span><input size="15"  value="<{$sh.pro_name.v}>" type="text" list="search" ltype='2' lfield="pro_name">
    <!--
    <span>本店价</span><input size="7" value="" type="text" list="search" ltype='2' lfield="username">-<input size="7" value="" type="text" list="search" ltype='2' lfield="username">
    <span>创建时间</span><input size="12" value="" readonly="readonly" type="text"  class="Wdate" onFocus="WdatePicker({readOnly:true})" list="search" ltype='2' lfield="username">
    -<input size="12" value="" readonly="readonly" type="text"  class="Wdate" onFocus="WdatePicker({readOnly:true})" list="search" ltype='2' lfield="username">
    -->
    <input value="搜索 " class="button" type="button" onclick="to_html();">
</div>

<input id="sort_field" value="<{$sortfield}>" type="hidden">
<input id="sort_val" value="<{$sortval}>" type="hidden">
<div class="list-div">
<table cellpadding="2" cellspacing="1" width="100%">
  <tbody><tr>
    <th class="chks">
      <input onclick='' type="checkbox">
    </th>
    <th>订单号</th>
    <th>状态</th>
    <th>商品金额</th>
    <th>收货人</th>
    <th>省</th>
    <th>市</th>
    <th>区</th>
    <th>收货地址</th>
    <th>手机/电话</th>
    <th>配送方式</th>
    <th>配送状态</th>
    <th>支付方式</th>
    <th>支付状态</th>
    <th>操作</th>
  </tr>
  <{foreach from=$orders item=order}>
	  
   <{/foreach}>
  </tbody></table>
  <!-- end goods list -->
<{include file="../common/page.htm"}>  
</div>
<script type="text/javascript">
var page_url = '/sys-admin/action/goods/product.php?met=list';
function toAddPro(){
	var id = $('#sel_cat_id').val();
	if(id != '' && id != '0'){
		location.href='/sys-admin/action/goods/product.php?met=addui&cid='+id;
	}else{
		alert('请选择分类');
	}
}
function staticProduct(){
	if(confirm('确定要生成网页?')){
		var url = '/sys-admin/action/staticfile/staticfile.php?met=staticproduct'
		       +'&t='+(new Date().getTime());
		$.get(url,null,function(result){
			if($.trim(result) == "1"){
				alert("生成网页成功");
			}else{
				alert("生成网页失败,请确认数据和模板是否正确");
			}
		});
	}
}
</script>
</body></html>